package com.smile.service.entity.services;

import com.alibaba.fastjson.annotation.JSONField;
import com.smile.model.dto.request.FlyToPointUpdateRequestDTO;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
public class FlyToPointUpdateData {
    /**
     * 指令飞行过程中能达到的最大速度
     */
    @JSONField(name = "max_speed")
    private Integer maxSpeed;

    private List<FlyToPointUpdateRequestDTO.Point> points;

    @Data
    @ToString
    public static class Point {
        private Float height;

        private BigDecimal latitude;

        private BigDecimal longitude;
    }
}
